package com.lagou.edu.service;

import com.lagou.edu.pojo.Article;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
 * @author xsl
 * @date 2020/8/16 20:18
 * @Description: ArticleService
 */
public interface ArticleService {
    /**
     * 分页查询所有⽂章
     * @param request
     * @return
     */
    Page<Article> findAll(PageRequest request);
}
